﻿namespace WMS6.Web.BaseInfoDetailServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="FilterStatementInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity")]
    public class FilterStatementInfo : IExtensibleDataObject, INotifyPropertyChanged
    {
        [OptionalField]
        private string AndOrField;
        [OptionalField]
        private string AttributeField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private DateTime CreatedDateField;
        [NonSerialized]
        private ExtensionDataObject extensionDataField;
        [OptionalField]
        private string FilterNameField;
        [OptionalField]
        private int LeftParenField;
        [OptionalField]
        private int LineIDField;
        [OptionalField]
        private string LiteralValueField;
        [OptionalField]
        private string OperandField;
        [OptionalField]
        private string RecordTypeField;
        [OptionalField]
        private int RightParenField;
        [OptionalField]
        private int RowIDField;
        [OptionalField]
        private string Udf10Field;
        [OptionalField]
        private string Udf1Field;
        [OptionalField]
        private string Udf2Field;
        [OptionalField]
        private string Udf3Field;
        [OptionalField]
        private string Udf4Field;
        [OptionalField]
        private string Udf5Field;
        [OptionalField]
        private string Udf6Field;
        [OptionalField]
        private string Udf7Field;
        [OptionalField]
        private string Udf8Field;
        [OptionalField]
        private string Udf9Field;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private DateTime UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        public event PropertyChangedEventHandler PropertyChanged;

        protected void RaisePropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if (propertyChanged != null)
            {
                propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        [DataMember]
        public string AndOr
        {
            get
            {
                return this.AndOrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AndOrField, value))
                {
                    this.AndOrField = value;
                    this.RaisePropertyChanged("AndOr");
                }
            }
        }

        [DataMember]
        public string Attribute
        {
            get
            {
                return this.AttributeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AttributeField, value))
                {
                    this.AttributeField = value;
                    this.RaisePropertyChanged("Attribute");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    this.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public DateTime CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!this.CreatedDateField.Equals(value))
                {
                    this.CreatedDateField = value;
                    this.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [Browsable(false)]
        public ExtensionDataObject ExtensionData
        {
            get
            {
                return this.extensionDataField;
            }
            set
            {
                this.extensionDataField = value;
            }
        }

        [DataMember]
        public string FilterName
        {
            get
            {
                return this.FilterNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FilterNameField, value))
                {
                    this.FilterNameField = value;
                    this.RaisePropertyChanged("FilterName");
                }
            }
        }

        [DataMember]
        public int LeftParen
        {
            get
            {
                return this.LeftParenField;
            }
            set
            {
                if (!this.LeftParenField.Equals(value))
                {
                    this.LeftParenField = value;
                    this.RaisePropertyChanged("LeftParen");
                }
            }
        }

        [DataMember]
        public int LineID
        {
            get
            {
                return this.LineIDField;
            }
            set
            {
                if (!this.LineIDField.Equals(value))
                {
                    this.LineIDField = value;
                    this.RaisePropertyChanged("LineID");
                }
            }
        }

        [DataMember]
        public string LiteralValue
        {
            get
            {
                return this.LiteralValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LiteralValueField, value))
                {
                    this.LiteralValueField = value;
                    this.RaisePropertyChanged("LiteralValue");
                }
            }
        }

        [DataMember]
        public string Operand
        {
            get
            {
                return this.OperandField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OperandField, value))
                {
                    this.OperandField = value;
                    this.RaisePropertyChanged("Operand");
                }
            }
        }

        [DataMember]
        public string RecordType
        {
            get
            {
                return this.RecordTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RecordTypeField, value))
                {
                    this.RecordTypeField = value;
                    this.RaisePropertyChanged("RecordType");
                }
            }
        }

        [DataMember]
        public int RightParen
        {
            get
            {
                return this.RightParenField;
            }
            set
            {
                if (!this.RightParenField.Equals(value))
                {
                    this.RightParenField = value;
                    this.RaisePropertyChanged("RightParen");
                }
            }
        }

        [DataMember]
        public int RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!this.RowIDField.Equals(value))
                {
                    this.RowIDField = value;
                    this.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string Udf1
        {
            get
            {
                return this.Udf1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf1Field, value))
                {
                    this.Udf1Field = value;
                    this.RaisePropertyChanged("Udf1");
                }
            }
        }

        [DataMember]
        public string Udf10
        {
            get
            {
                return this.Udf10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf10Field, value))
                {
                    this.Udf10Field = value;
                    this.RaisePropertyChanged("Udf10");
                }
            }
        }

        [DataMember]
        public string Udf2
        {
            get
            {
                return this.Udf2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf2Field, value))
                {
                    this.Udf2Field = value;
                    this.RaisePropertyChanged("Udf2");
                }
            }
        }

        [DataMember]
        public string Udf3
        {
            get
            {
                return this.Udf3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf3Field, value))
                {
                    this.Udf3Field = value;
                    this.RaisePropertyChanged("Udf3");
                }
            }
        }

        [DataMember]
        public string Udf4
        {
            get
            {
                return this.Udf4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf4Field, value))
                {
                    this.Udf4Field = value;
                    this.RaisePropertyChanged("Udf4");
                }
            }
        }

        [DataMember]
        public string Udf5
        {
            get
            {
                return this.Udf5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf5Field, value))
                {
                    this.Udf5Field = value;
                    this.RaisePropertyChanged("Udf5");
                }
            }
        }

        [DataMember]
        public string Udf6
        {
            get
            {
                return this.Udf6Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf6Field, value))
                {
                    this.Udf6Field = value;
                    this.RaisePropertyChanged("Udf6");
                }
            }
        }

        [DataMember]
        public string Udf7
        {
            get
            {
                return this.Udf7Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf7Field, value))
                {
                    this.Udf7Field = value;
                    this.RaisePropertyChanged("Udf7");
                }
            }
        }

        [DataMember]
        public string Udf8
        {
            get
            {
                return this.Udf8Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf8Field, value))
                {
                    this.Udf8Field = value;
                    this.RaisePropertyChanged("Udf8");
                }
            }
        }

        [DataMember]
        public string Udf9
        {
            get
            {
                return this.Udf9Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf9Field, value))
                {
                    this.Udf9Field = value;
                    this.RaisePropertyChanged("Udf9");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    this.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public DateTime UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!this.UpdatedDateField.Equals(value))
                {
                    this.UpdatedDateField = value;
                    this.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    this.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

